package com.easychat.entity;

import java.util.Date;
import java.io.Serializable;

/**
 * (UserContact)实体类
 *
 * @author makejava
 * @since 2024-10-08 20:08:21
 */
public class UserContact implements Serializable {
    private static final long serialVersionUID = 849040763161357590L;
/**
     * 用户id
     */
    private String userId;
/**
     * 联系人ID或者群组ID
     */
    private String contactId;
/**
     * 联系人类型 0：好友 1：群组
     */
    private Integer contactType;
/**
     * 创建时间
     */
    private Date createTime;
/**
     * 状态 0：非好友 1：好友 2：已删除 3 ：被删除好友 4：已拉黑好友 5：被好友拉黑 6：好友账号被冻结
     */
    private Integer status;
/**
     * 最后更新时间
     */
    private Date lastUpdateTime;
    private String contactName;


    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getContactId() {
        return contactId;
    }

    public void setContactId(String contactId) {
        this.contactId = contactId;
    }

    public Integer getContactType() {
        return contactType;
    }

    public void setContactType(Integer contactType) {
        this.contactType = contactType;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getLastUpdateTime() {
        return lastUpdateTime;
    }

    public void setLastUpdateTime(Date lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }


}

